﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0014)about:internet -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Required Files for Distribution</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link href="stylesheets/default.css" type=text/css rel=STYLESHEET>
    <link href="stylesheets/axstylesheet.css" type=text/css rel=STYLESHEET>
    <script src="script/scripts.js" type=text/javascript>   

<script type="text/javascript" src="scripts.js"></script>



<style>
html,div { margin: 0; padding: 0;}

body {
	padding: 0px;
	margin: 0px;
	overflow: auto;
	height: 100%;
}

#winchm_template_button{
	float: right;
	width: 93px;
	top: 7px;
	position: relative;
	text-align: right;
	right: 5px;
	height: auto;
}

#winchm_template_top{
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #9B9B9B;
	background-color: #B1CEFE;
}

#winchm_template_navigation{
	margin: 0px;
	padding-top: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-right: 0px;
	font-size: 8.5pt;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #585858;
}

#winchm_template_title{
	margin: 0px;
	padding-top: 4px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 0px;
	font-size: 18px; 
	font-family: Verdana, Geneva, sans-serif;
	color: #363636;
}

#winchm_template_content{
	margin-top: 20px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	width: auto  !important;
	width: 100%;
}

#winchm_template_footer{
	border-width: 1px;
	border-color: #B1CEFE;
	border-top-style: solid;
	margin-top: 15px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-top: 7px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	font-family: arial, helvetica, sans-serif;
	font-size: 8.5pt;
	color: #696969;
	width: auto;
	text-align: left;
}


#winchm_template_container{
	margin: 0px;
	padding: 0px;
	position: static;
	padding-bottom: 3px;
	overflow: auto;
	background-color: #FFFFFF;
}


@media print
{
#winchm_template_container{
	position: static;	
	margin: 0px;
	padding: 5px;
	
	width: auto;
	height: auto;
	overflow: auto;
}
#winchm_template_button{
visibility:hidden;
}
}

#winchm_template_navigation A:link	{text-decoration: none; color:#004080}
#winchm_template_navigation A:visited  {text-decoration: none; color: #004080}
#winchm_template_navigation A:active {text-decoration: none; color: #004080 }
#winchm_template_navigation A:hover {text-decoration: none;color: #0080FF}

A:link	{text-decoration: underline; color:#0033CC}
A:visited  {text-decoration: underline; color: #0033CC}
A:active {text-decoration: underline; color: #0033CC }
A:hover {text-decoration: underline;color: #FF0000;}
</style>
<script type="text/javascript">
function isMobile(){
Agent = window.navigator.userAgent;
if (Agent.indexOf("iPhone")>=1 || Agent.indexOf("iPad")>=1 || Agent.indexOf("iPod")>=1 || Agent.indexOf("Android")>=1){
return true;
}else{
return false;	
}

}
function d_onresize(){
if (window.navigator.userAgent.indexOf("MSIE")>=1){
document.getElementById('winchm_template_container').style.pixelWidth = document.body.offsetWidth - 3;
document.getElementById('winchm_template_container').style.pixelHeight = document.body.offsetHeight - document.getElementById('winchm_template_top').offsetHeight - 4;
}
document.getElementById('winchm_template_container').style.top = document.getElementById('winchm_template_top').offsetHeight + 'px';
}

function d_onbeforeprint(){
document.getElementById('winchm_template_container').style.width = 'auto';
document.getElementById('winchm_template_container').style.height = 'auto';
}

function d_onafterprint(){
d_onresize();
}

if(!isMobile()){

window.onload = d_onresize;
window.onresize = d_onresize;
window.onbeforeprint = d_onbeforeprint;
window.onafterprint = d_onafterprint;

document.write("<style>\n");
document.write("body {overflow: hidden;}\n");
document.write("#winchm_template_container {position: absolute;overflow: auto;top : 0px;right: 0px;bottom: 0px;left: 0px;}\n");
document.write("</style>\n");
}

</script>
</head>

<body><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(1);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm?page=distribution_files.htm";
}
originalOnload = window.onload;
if(originalOnload==null){
window.onload = function(){parent.contentLoaded = true;};
}else{
window.onload = function(){originalOnload();parent.contentLoaded = true;};
}
</script> 


<div id="winchm_template_top">
	<div id="winchm_template_button"><A href="welcome_screen.htm" title="Previous topic"><img id="winchm_template_prev" alt="Previous topic" src="template2/btn_prev_n.gif" border="0"></a><A href="XtremeCalendarControl_P.html" title="Next topic"><img id="winchm_template_next" alt="Next topic" src="template2/btn_next_n.gif" border="0"></a></div>
	<div id="winchm_template_navigation">Help &gt; 
<A href="welcome_screen.htm">Codejock ActiveX Controls v15.3</A> &gt; </div>
	<div id="winchm_template_title">Required Files for Distribution</div>
</div>
<div id="winchm_template_container">
	<div id="winchm_template_content"><div class="Element710" id="areafixed"><div class="Element92"><table width="100%" cellspacing="0" cellpadding="0"><tr><td width="33%"><div class="Element1"></div>
</td></tr></table>
<div class="Element5">Files Required when Distributing Software with Codejock Components</div>
</div>
</div>
<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<div class="Element58">
<div class="Element11">
<div class="Element10">

<div class="Element14">
<a onclick="toggleVisibilityStored('RequiredFiles');" class="a_Element14"><img src="aximages/sectionminus.png" border="0" alt="sectionminus.png" id="imgRequiredFiles">Required Files:</a></div>
<div id="divRequiredFiles">
<div class="Element10" style="margin-left:15px;margin-top:3px;">
<br>When distributing software that includes components from Codejock Software the 
following files should be installed on the client machine:<br><br>

<ul>
	<li>
		OCX files for each Codejock control used.
	</li>
	<li>
		If installing on Windows 95 or Windows NT, then mfc42.dll must be installed.
	</li>	
</ul>

<br>Files to Distribute in Addition to the OCX files:
<ul>
	<li>
		If you use the Chart Control you will need to include GDIPlus.dll.  This file
                is NOT included on Windows 2000 and earlier.  By Default it is included on
                Windows XP and newer.<br><br>
	</li>
	<li>
		If you use Command Bars and created your CommandBar with the Command 
		Bars Designer Studio then you need to include the <b>XCB</b> or <b>XML</b> 
		file that the Designer Studio created for you.&nbsp; The <b>LoadDesignerBars</b> 
		method is used to load the <b>XCB</b> file.&nbsp; Both the <b>LoadStateFromString</b> and 
		<b>LoadStateFromXMLString</b> methods will load 
		a string that contains the state of the CommandBars.&nbsp; If you store the 
		string in an external file you will need to include this file.<br><br>
	</li>
	<li>
		If you use the <b>LoadBitmap</b>, <b>LoadIcon</b>, or <b>AddIcon</b> (If 
		Icon is obtained externally) methods to load your image files, you will need 
		to include the image files.<br><br>
	</li>
	<li>
		If you use the <b>Resource</b> property of the <b>GlobalSettings</b> class to provide language support
		for languages other than English, then you must include the language DLL for each language you support.<br><br>
	</li>	
	<li>
		The XML features require Internet Explorer 5.0 or later to be installed on the client machine.  Or you can 
		include the msxml3.dll file with your installation.
	</li>		
</ul>
</div>
</div>

<div class="Element14">
<a onclick="toggleVisibilityStored('Notes');" class="a_Element14"><img src="aximages/sectionminus.png" border="0" alt="sectionminus.png" id="imgNores">Notes:</a></div>
<div id="divNotes">
<div class="Element10" style="margin-left:15px;margin-top:3px;">
<ul>
	<li>
		Each OCX file must be installed and registered for each Codejock control used on the client machine.&nbsp; The 
		OCX files are the only files required to be installed on the client machine with the exception of those noted in the 
		"Files to Distribute in Addition to the OCX files" section above.  If you plan to support UNICODE, then you must compile 
		your project using the UNICODE version of the OCX and you would then distribute the UNICODE OCX on the client machine.<br><br>
	</li>
	<li>
		You can install the OCX files in any location.<br><br>
	</li>
	<li>
		OCX registration is done with the <b>regsvr32</b> tool.  If your installer supports this, then you can
		have your installer register the OCX files for you.<br><br>
	</li>
	<li>
		There are some situations that you may need to include the content of the <b>LIC</b> file in your control using the <b>License</b> property.
		You <b>DO NOT</b> include the actual <b>LIC</b> file.  For example, if you are developing an ActiveX control for Internet Explorer, you will
		need to include the license information using the <b>License</b> property.
<br><br>
The 2 most common times this is needed:<br>
1. If you are using VisualStudio 2003 or above with C# or VB.NET then you will need to embed the LIC information.<br>
2. If you create the Codejock object in code (i.e. Call CreateObject and did not place the control on a form), in this case you must embed the LIC
information within the scope of the object it is created.
<br><br>


  The <b>License</b> property is located in the <b>GlobalSettings </b>class for each
		control.  The code below illustrates how to use the <b>License</b> property for each control used:
<br><br>
<b>IMPORTANT</b>: Replace the <b>XXX-XXX-XXX-XXX</b> in the following code with the correct LIC code from your <b>CURRENT</b> version.  This MUST be
updated each time your upgrade your version of Codejock controls.  The LIC string will ALWAYS CHANGE each time a new release is out.
<br><br>

<b>VB6 Code</b>
		<pre>
CommandBarsGlobalSettings.License = "CommandBars Control Copyright (c) 2003-2012 Codejock Software" & vbCrLf & _
                                    "PRODUCT-ID: Codejock.CommandBars.ActiveX.v15.3" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
DockingPaneGlobalSettings.License = "DockingPane Control Copyright (c) 2003-2012 Codejock Software" & vbCrLf & _
                                    "PRODUCT-ID: Codejock.DockingPane.ActiveX.v15.3" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
PropertyGridGlobalSettings.License = "PropertyGrid Control Copyright (c) 2003-2012 Codejock Software" & vbCrLf & _
                                     "PRODUCT-ID: Codejock.PropertyGrid.ActiveX.v15.3" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
ReportControlGlobalSettings.License = "Report Control Copyright (c) 2003-2012 Codejock Software" & vbCrLf & _
                                      "PRODUCT-ID: Codejock.ReportControl.ActiveX.v15.3" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
		</pre>

<b>C# Code</b>
		<pre>
public frmMain()
{
    XtremeCommandBars.CommandBarsGlobalSettingsClass CommandBarsSettings = 
        new XtremeCommandBars.CommandBarsGlobalSettingsClass();
 
    CommandBarsSettings.License = 
        "CommandBars Control Copyright (c) 2003-2012 " +
        "Codejock Software\r\n" +
        "PRODUCT-ID: Codejock.CommandBars.ActiveX.v15.3\r\n" +
        "VALIDATE-CODE: XXX-XXX-XXX-XXX";  

    //
    // Required for Windows Form Designer support
    //
    InitializeComponent();
}
						
		</pre>

<b>VB.NET Code</b>
		<pre>
Public Sub New()

    MyBase.New()

    Dim CommandBarsSettings As _
        XtremeCommandBars.CommandBarsGlobalSettingsClass = _
        New XtremeCommandBars.CommandBarsGlobalSettingsClass

    CommandBarsSettings.License = "CommandBars Control Copyright (c) " + _
    "2003-2012 Codejock Software" + ControlChars.CrLf + "PRODUCT-ID: " + _
    "Codejock.CommandBars.ActiveX.v15.3" + ControlChars.CrLf + _
    "VALIDATE-CODE: XXX-XXX-XXX-XXX"

    'This call is required by the Windows Form Designer.
    InitializeComponent()

    'Add any initialization after the InitializeComponent() call
End Sub					
		</pre>
		You will need to provide the correct<b> Product Id</b> and <b>Validate Code</b>.  This information can be found in the 
		<b>LIC </b>file.  The <b>LIC</b> file is located in the same location as the OCX file.  By default, the location of the <b>OCX</b> and 
		<b>LIC</b> file is the "..\Codejock Software\ActiveX\Xtreme Suite\Bin" for the Xtreme Suite	installation.  This code should be placed in the 
		<b>Form_Initialize</b> event of the main form.

<br><br>
<b>IMPORTANT</b>: The LIC must match EXACTLY down to carriage returns, line feeds and CASE, this is one of the mose common mistakes made when embeding license information. 
The other common istake is to not replace the "X"'s in the sample code or not updating the license information when upgrading versions.
	</li>	
</ul>
</div>
</div>

<div class="Element14">
<a onclick="toggleVisibilityStored('SupportedOperatingSystems');" class="a_Element14"><img src="aximages/sectionminus.png" border="0" alt="sectionminus.png" id="imgSupportedOperatingSystems">All Codejock Controls Support the Following Operating Systems</a></div>
<div id="divSupportedOperatingSystems">
<div class="Element10" style="margin-left:15px;margin-top:3px;">
<br>Windows NT 4.0, 2000, XP, 2003, Vista, Windows 7, Windows 2008, XP\Vista\Windows 7 x64<br>
Windows 95, 98, 98SE, ME<br>
<br>Please note that some features such as alpha icons and UNICODE support might be unavailable in Windows 9.x, NT, and ME due to Operating System restrictions.
</div>
</div>

<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="100%">

<div class="Element3">
Copyright (c) 1998-2012 Codejock Software. All rights reserved.</div>
</td></tr><tr><td width="100%">
<div class="Element97">
What do you think about this topic?  <a href="#" onclick="sendFeedback('support@codejock.com', 'Documentation Feedback', 'Project: Xtreme Docking Pane Pro%0ATopic ID: Welcome Screen%0ATitle: Xtreme Docking Pane Pro Overview');"> Send feedback! </a></div></td></tr></table></div><!-- End Page Footer --></div></div></div>	
	<div id="winchm_template_footer">Copyright &copy; 2018. All rights 
reserved. (To change the copyright info, just edit it in template.)</div>
</div>

</body></html>